<?php

namespace app\model;

use think\model\relation\HasOne;

class Workorder extends Base
{
    const BILL = 'bill';

    /**
     * @return HasOne
     */
    public function bill(): HasOne
    {
        return $this->hasOne(FlowBill::class, 'mid', 'id');
    }
}